public class Main {
    public static void main(String[] args) {
        Bookstore bookstore = new Bookstore(5);
        bookstore.addBook(new Novel("射雕英雄传", "金庸", 59.9, "武侠"));
        bookstore.addBook(new TextBook("Java编程思想", "Bruce Eckel", 108.0, "Java"));
        bookstore.addBook(new Magazine("国家地理", "杂志社", 20.0, "202510", "国家地理出版社"));
        bookstore.printAllBooks();
    }
}